﻿using System.NetFrancis;

namespace Microsoft.AspNetCore.Components;

/// <summary>
/// 这个组件可以用来初始化<see cref="IHostProvide"/>
/// </summary>
public sealed partial class InitializationHostProvide : ComponentBase, IContentComponent<RenderFragment>
{
    #region 组件参数
    #region 子内容
    [Parameter]
    [EditorRequired]
    public RenderFragment ChildContent { get; set; }
    #endregion
    #endregion
    #region 内部成员
    #region 重写OnInitializedAsync
    protected override async Task OnInitializedAsync()
    {
        await TagLazy.Initialization();
    }
    #endregion
    #endregion
}
